package com.v2.k5;


import com.v2.k2.Person;

import java.beans.PropertyEditor;
import java.beans.PropertyEditorSupport;

/**
 * 测试类型装换
 */
public class TestPropertyEditor extends PropertyEditorSupport implements PropertyEditor {

	@Override
	public void setAsText(String text) throws IllegalArgumentException {
		Person person = new Person();
		this.setValue(person);
	}
}

